Skip to content

Implement aarch64 SQDMULH LLVM intrinsics#1657

Merged
bjorn3 merged 1 commit into
rust-lang:mainfrom
CathalMullan:sqdmulh
Jun 3, 2026
Merged

Implement aarch64 SQDMULH LLVM intrinsics#1657
bjorn3 merged 1 commit into
rust-lang:mainfrom
CathalMullan:sqdmulh

Conversation

@CathalMullan

@CathalMullan CathalMullan commented May 29, 2026

Copy link
Copy Markdown
Contributor

Resolves #1655

Issue mentioned this is needed for tauri.
It's also needed for serde_json (via zmij usage).

@bjorn3

bjorn3 commented May 29, 2026

Copy link
Copy Markdown
Member

Would you mind implementing a scalar emulation instead? Using inline asm slows down compilation due to needing to spawn an external assembler. For crypto intrinsics that is better than generating non-constant time code, but for regular math, compilation speed is more important.

Comment thread example/neon.rs

@bjorn3 bjorn3 Jun 3, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess at some point I should just get the stdarch test suite running in CI despite many intrinsics not yet being implemented.

View changes since the review

@bjorn3 bjorn3 merged commit 53cca10 into rust-lang:main Jun 3, 2026
25 checks passed
@bjorn3

bjorn3 commented Jun 3, 2026

Copy link
Copy Markdown
Member

Thanks!

@CathalMullan CathalMullan deleted the sqdmulh branch June 3, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

llvm.aarch64.neon.sqdmulh.v2i32 is not yet supported

2 participants